package com.huilian.iotbox.data.enums;

import lombok.Getter;

@Getter
public enum ConsumeRecordTypeEnum {
    RECHARGE(1, "套餐充值"),
    CONSUME(2, "投币消费"),
    EXCEPTION_REFUND(3, "投币异常，原路退回记录"),
    DEBUG_CONSUME(5, "调试投币消费"),
    SEND_WELFARE(6, "派发福利"),
    COIN_MACHINE(7, "兑币机购币"),
    REMOTE_START(8, "远程上分"),
    COIN_MACHINE_VERIFY(9, "微信核销"),
    COIN_MACHINE_FETCH_COIN(10, "兑币机会员取币"),
    CHARGING_BALANCE_CONSUMPTION_RECORD(11, "充电余额充值记录"),
    CHARGING_CONSUMPTION_RECORD(12, "充电消费记录"),
    CHARGING_BALANCE_REFUND_CONSUMPTION_RECORD(13, "充电消费退款记录（正常充电完成等等）"),
    MERCHANT_CLEAR_MEMBER_COIN_BALANCE(14, "运营商调整会员余币"),
    FIRST_USER_WELFARE(17, "私域加群福利"),
    COIN_MACHINE_DOUYIN_VERIFY(18, "抖音核销"),
    COIN_MACHINE_MEITUAN_VERIFY(19, "美团核销"),
    SUB_SINGLE(20, "子单，由母单分裂出多条子单，根据parentConsumeRecordId找到母单"),
    SAVE_ICON(24, "存实体币"),
    GAME_CURRENCY_EXCHANGE_FOR_OTHER_GOODS(25, "游戏币兑换其他商品"),
    GAME_COIN_RED_PACKET(26,"游戏币红包"),
    COUNT_OUT_COIN(27,"人工出币"),
    WEIXIN_SECKILL_VERIFY(28,"微信秒杀核销"),
    WEIXIN_GROUP_BUYING_VERIFY(29,"微信团购核销"),
    WEIXIN_VOUCHER_VERIFY(30,"微信凭证核销"),

    GAME_CURRENCY_EXPIRED(31,"游戏币过期"),
    GAME_CURRENCY_EXCHANGE_GOODS_REFUND(32,"游戏币兑换商品退单"),
    ORDER_REFUND_AND_CURRENCY_REFUND(33,"订单退款退币"),
            ;

    private Integer code;
    private String desc;

    ConsumeRecordTypeEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
